<html>
<body>
    <p>今天天气真好，下午去海滩游玩。</p>
    <script type="text/javascript">
        document.oncontextmenu = function(){
            // 禁用鼠标右键
            event.returnValue = false
        }
    </script>
</body>
</html>